<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

	<!-- Zuordung (mapping) von URL (command) zu Controller -->
	<bean id="simpleUrlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
		<property name="mappings">
			<props>
				<prop key="/open/Home.s">HomeCo</prop>
				<prop key="/prot/Home.s">HomeCo</prop>
				<prop key="/open/AlleEvents.s">AlleEventsCo</prop>
				<prop key="/open/AlleTheater.s">AlleTheaterCo</prop>
				<prop key="/prot/AlleKunden.s">AlleKundenCo</prop>
				<prop key="/prot/AlleBuchungen.s">AlleBuchungenCo</prop>
				<prop key="/prot/NeuesEvent.s">NeuesEventCo</prop>
				<prop key="/open/BucheEvent.s">NeuerKundeCo</prop>
				<prop key="/prot/NeuesTheater.s">NeuesTheaterCo</prop>
				<prop key="/prot/SaveEvent.s">SaveEventCo</prop>
				<prop key="/prot/SaveTheater.s">SaveTheaterCo</prop>
				<prop key="/open/SaveReservierung.s">SaveReservierungCo</prop>
				<prop key="/open/SaveReservierungNow.s">SaveReservierungNowCo</prop>
				<prop key="/prot/LoescheRes.s">LoescheResCo</prop>				
				<prop key="/open/ShowTheater.s">ShowTheaterCo</prop>
				<prop key="/open/Logout.s">LogoutCo</prop>			
			</props>
		</property>
	</bean>
	
	<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
		<property name="prefix" value="/view/" />
		<property name="suffix" value=".jsp" />
	</bean>
</beans>
